package com.cheezeworld.entity
{
	import flash.events.Event;

	public class EntityEvent extends Event
	{
		public static const CHANGE_SCALE:String	=	"change_scale";
		public static const CHANGE_LAYER:String	=	"change_layer";
		public static const DISPOSE:String		=	"entity_dispose";
		public static const ADD_ENTITY:String		=	"add_entity";
		
		public var data:Object;
		
		public function EntityEvent(type:String, a_data:Object = null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			data = a_data;
		}
		
	}
}